home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d19
/
wcb4m11.arc
/
WCB4M.DOC
< prev
next >
Wrap
Text File
|
1990-04-16
|
8KB
|
186 lines
WCB4M - "Who Called Before Me?" PCBoard Utility (lists Recent Callers)
version 1.10 (04-16-90) copyright 1989,1990 by DJ Chuang
----------------------------------------------------------------------
This utility will generate a bulletin (or text file) which lists your
most recent callers. The list will contain the login line that PCBoard
records in the caller log, containing the date and time of login, user
name, baud rate, city & state (or New User), and minutes used. Now with
automatic multi-node support, a separate column will be made for node
number.
This utility should work for all PCBoard versions. If I remember
correctly, the caller log format has not changed (62 columns text
terminated with CR/LF).
----- Setup Notes -----
- In the PCBSETUP Option #1 menu, set the switch to exit to Dos after
each caller to Y. This is so that WCB4M will be executed after every
caller. [Alternative: you might be able to get away with not
dropping to DOS between users, but with the latest in PCBoard
technology, chances are that users will open an external DOOR program
while they're online. In this case, you can just call WCB4M before or
after the PCBOARD.EXE call in the BOARD.BAT, and when a door is opened
or an event is run, WCB4M will update the bulletin. Only caution is
that there may be an occasion when two users back-to-back will login
without opening a door, in which case WCB4M may miss a caller entry..]
- Edit your BOARD.BAT to contain a call to this program. The program is
written so that there's a way to both re-execute the BBS and to exit
to DOS, as a normal F1 would do in BOARD.BAT. My section of the
BOARD.BAT after the PCBoard portion looks like this:
wcb4m c:\pcb\main\caller c:\pcb\gen\blt4 20 -r
pcboard
wcb4m c:\pcb\main\caller c:\pcb\gen\blt4 20 -f
if errorlevel 2 goto quit
if exist door.bat door
if exist remote.bat remote
if exist event.bat event
if exist endpcb goto end
board
:end
del endpcb
echo Type BOARD to restart PCBoard
----- Command Line Options -----
The command line options can be seen by executing the WCB4M program
without any parameters.
The first parameter is the path and filename to your caller log.
The second parameter is the bulletin (or news) where you wish the
output of this to go.
The third parameter is optional - and it represents how many previous
callers you wish to list in the bulletin. The default is 20.
The fourth parameter are switches for the WCB4M program. If you wish
to use the default number of previous callers to list, you can make
this options parameter the third item on the command line.
Four options are available for WCB4M in this version. More than one
option may be specified at once. (not sure what happens if two
colliding options are selected, so don't try it)
Specifying the "I" switch will generate the bulletin for the first
time to fill it up with 20 entries (or how ever many you specify).
Subsequent execution of this program will simply pick up the last
caller, and insert it in the bulletin keeping its reverse
chronological order. (the program is smart enough not to list the same
person twice.) So this switch should only be used manually to
initialize the bulletin and not in the BOARD.BAT.
The "F" switch will speed up the pause after the WCB4M bulletin is
generated. This pause is there so that if this is the only program
you run between users, you have a chance to abort the batch file to
exit to DOS as the F1 from the call waiting screen should do. The
way PCBoard and BOARD.BAT is structured, this program is run every time
that PCBoard exits, whether to DOS via F1 or F10, or between callers.
The "R" switch turns off the above mentioned pause. This will probably
be used by those running HSTRESET for their modems, which has its own
pause for the sysop to abort the BOARD.BAT.
The "S" switch turns on File Share checking. It's not really share
checking, but it will retry seven times if the file is not available
(when file access is denied on a network). Version 1.10 will slightly
hesitate in hopes that the staggered access to networked files will
become available in due time.
An errorlevel 2 is generated after the program execution if the F1
abort key was pressed. Errorlevel 0 is returned if everything went as
it expected. In version 1.10+, you can also hit the space bar, X, or
E to exit the WCB4M program. (these keys were added for Prologon
"support", so if you want to drop to DOS from the BBS, hit "X" twice)
Multi-node support is available in version 1.10+. WCB4M will
automatically detect a multi-node entry in the caller log, and make an
extra column in the bulletin for node number. The city/state column
will be shortened to make room to list the number of the node that a
person called in on.
There is not special WCB4M initialization for multi-node systems --
to initialize a bulletin, just use the caller log from your most
active node, and after a day or less, the bulletin will contain
entries from all your nodes equally. The reason there is not an
initialization process for multi-node systems is to keep the code size
to a minimum.
This upgrade is a "drop in" replacement for the old code, even for
multi-node systems.
-----
This software is FREE. I know sysop'ing is a demanding position, and I
recognize that a BBS operation requires many other expenses, such as
monthly phone bills and registering mail doors. I hope this software
inspires other programmers to give back a portion of what BBSing has
given to all of us.
The program is provided as-is. You may freely use this software and are
encouraged to upload it to other PCBoard systems (and encourage them to
use it too). You may NOT modify the program or charge for its
distribution.
Please do contact me if you find any problems in using the software, or
you can call my support BBS to get a "clean" version. I also check the
DOORS conference on RIME network frequently.
DJ Chuang
3005 Sayre Drive
Great Mills, MD 20634
The latest version of this software can be obtained from:
Southern Maryland Christian Info Service
(301)862-3160
300/1200/2400/9600/38400 USR HST
sysop: Buggs Bugnon
RIME (RelayNet) node: SMCIS
----- Acknowledgements -----
Jesus Christ, my Lord and Savior - for giving me life that
I might have it abundantly. To God be the Glory!
(Revelation 3:20-21)
----- Release History -----
v1.10 (04-16-90) Added multi-node support. Also, file sharing retries
will wait a random time period in hopes to wait out
another node's file access to WCB4M bulletin.
v1.05 (10-06-89) Added "S" parameter in command line, to make file share
retries an Option (rather than the rule).
v1.04 (10-05-89) Fixed intricacies for handling MarkMail as well as
QwikMail local door entry. Also, watch for file
sharing violation, and will automatically retry up
to seven times until other node(s) are finished writing
to the WCB4M bulletin.
v1.03 (09-14-89) Fixed error in initializing WCB4M bulletin.
Thanks goes out to Rick Welshans of Arlington, VA.
v1.02 (09-14-89) Added keyboard check if "caller not logged off yet"
or "no new caller". (so that F1 would exit to DOS if
there was new caller log)
v1.01 (08-30-89) Fixed bug which caused duplicate entries.
v1.00 (08-29-89) Alternative format used to make the bulletin "neater",
using columns and added column for minutes used. (have
been busy, folks, that's why there's a gap between
these updates)
v0.60 (04-23-89) First public release. Removed dependence on TP5's CRT
unit, so it should no longer lock up multi-taskers (if it
ever did.) Code size reduced a little bit more.